<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>商城首页</title>
	<link rel="stylesheet" href="css/jd.css" />
	<link rel="stylesheet" href="font/css/font-awesome-ie7.min.css" />
	<link rel="stylesheet" href="font/css/font-awesome.min.css" />
	<link rel="stylesheet" href="css/floor.css" />
	<link rel="stylesheet" href="css/jd_main_right_life.css" />
	<script type="text/javascript" src="jquery/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="js/jd_topad.js" ></script>
	<script type="text/javascript" src="js/jd_mainleft.js"></script>
	<script type="text/javascript" src="js/jd_mainmiddle.js"></script>
	<script type="text/javascript" src="js/jd_picsclimg.js"></script>
	<script type="text/javascript" src="js/jd_tap.js"></script>
	<script type="text/javascript" src="js/jd_onlyad.js"></script>
	<script type="text/javascript" src="js/jd_synthesis.js"></script>
	<script type="text/javascript" src="js/jd_ jdbuy.js"></script>
	<link rel="stylesheet" type="text/css" href="Public/org/hdjs/hdjs.css">
	<script type="text/javascript" src='Public/org/hdjs/hdjs.min.js' ></script>

</head>
<body>
	<!-- 顶部导航区域开始  -->
	<div id="topad">
		<div class="center">

			<ul style="float:right;width:auto;">
				<?php if (isset($_SESSION['user_id'])): ?>
					<li class="a"><a class="hello" href="<?php echo U('Member/User/myInfo') ?>"><?php echo $_SESSION['username'] ?></a><a class="login" href="<?php echo U('Member/User/quit') ?>">退出</a><span class="line"></span></li>
				<?php else: ?>
					<li class="a"><a class="hello" href="<?php echo U('Member/User/login') ?>">你好，请登录</a><a class="login" href="<?php echo U('Member/User/register') ?>">免费注册</a><span class="line"></span></li>
				<?php endif ?>

				<li><a href="<?php echo U('Member/Index/order') ?>">我的订单</a><span class="line"></span></li>
				<li class="a side"><a href="<?php echo U('Member/Index/myInfo') ?>">我的京东</a>

				</li>

			</ul>
		</div>
	</div>
	<!-- 顶部导航区域结束 -->

	<!-- 搜索区域开始-->
	<div id="search">
		<img src="images/logo-201305.jpg" height="60" width="270" alt="" class="jd" />
		<form action="" class="search">
			<input class="text" type="text"  value="金龙鱼" />
			<input type="submit" class="submit" value="搜索" />
		</form>

		<div class="shopcar">
			<div class="over">
				<img src="images/sleep.png" height="49" width="57" alt="" />
				<p>购物车中还没有商品，赶紧选购吧！</p>
			</div>
			<div class="include">
				<span class="car"></span>
				<a href="<?php echo U('Home/Index/goShopCart',array('goods_id'=>17)) ?>">我的购物车</a>
				<span class="arrow">〉</span>
				<!-- <span class="logo">0</span> -->
			</div>
		</div>
	</div>
	<!-- 搜索区域结束-->
	<!-- 导航条开始 -->
	<div id="gps">
		<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="class" >全部商品分类</a>
		<a href="<?php echo U('lists',array('cat_id'=>18)) ?>" class="gps a">服装城</a>
		<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="img" ><img src="images/aiyou.jpg" height="44" width="140" alt="" /></a>
	</div>
	<!-- 导航条结束 -->
	<!-- 红色区条 -->
	<div id="red"></div>
	<!-- 红色区条结束 -->
	<!-- 主区域开始 -->
	<div id="main">
		<ul class="left">

			<?php foreach ($cat as $k => $v): ?>
				<li><a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="mainlist"><?php echo $v['cat_name']?></a><span class='arrow'>〉</span><span class="line"></span>
					<div class="uplink">
						<div class="left">

							<?php foreach ($v['_data'] as $ke => $va): ?>
								<dl class="list1">
									<dt>
										<a href="#" class="dt"><?php echo $va['cat_name'] ?>
											<i class="dt">></i>
										</a>
									</dt>
									<dd>
										<?php foreach ($va['_data'] as $key => $value): ?>
											<a href="<?php echo U('lists',array('cat_id'=>$value['cat_id'])) ?>"><?php echo $value['cat_name'] ?></a>
										<?php endforeach ?>
									</dd>
								</dl>
							<?php endforeach ?>
						</div>
						<div class="right">
							<img src="images/r1.jpg" alt="" class="small" />
							<img src="images/r2.jpg" alt="" class="small" />
							<img src="images/r3.jpg" alt="" class="small" />
							<img src="images/r4.jpg" alt="" class="small" />
							<img src="images/r5.jpg" alt="" class="small" />
							<img src="images/r6.jpg" alt="" class="small" />
							<img src="images/r7.jpg" alt="" class="small" />
							<img src="images/r8.jpg" alt="" class="small" />
							<img src="images/r9.jpg" alt="" class="big" />
							<img src="images/r10.jpg" alt="" class="big1" />
						</div>
					</div>
				</li>
			<?php endforeach ?>
		</ul>
		<div class="middle" id="slide">
			<script>
				$(function () {
					$('#slide').slide({
            width: 730,//宽度
            height: 454,//高度
            timeout: 3,//间隔时间
            bgcolor: '#1B2527',//背景颜色
            bgopacity: 0.9,//背景透明度
            textColor: '#ddd'//文字颜色
        });
				})
			</script>

			<a title href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/1.jpg" alt="" class="shift shift1" style="display:block;" /></a>
			<a title href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/2.jpg" alt="" class="shift shift1" style="display:block;" /></a>
			<a title href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/3.jpg" alt="" class="shift shift1" style="display:block;" /></a>
			<a title href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/4.jpg" alt="" class="shift shift1" style="display:block;" /></a>
			<a title href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/5.jpg" alt="" class="shift shift1" style="display:block;" /></a>


		</div>
		<div class="you">
			<div class="bulletin">
				<h4>快报</h4>
			</div>
			<div class="list">
				<a href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>">
					<img src="Upload/16701442545103_middle.jpg" alt="" style="width:auto;">
				</a>
			</div>
			<div class="coverlife">
				<div class="lifeservice">生活服务</div>
				<div class="ticket">
					<a href="<?php echo U('Home/Index/item',array('goods_id'=>15)) ?>">
						<img src="Upload/47551442538668_middle.jpg" alt="" style="width:auto;">
					</a>
				</div>
			</div>
		</div>
	</div>
	<!-- 主区域结束 -->


	<!-- 服装鞋包开始 -->
	<div class="commen commen1">
		<div class="title">
			<div class="leftredline" style="width:auto;border-bottom: none;">
				<span class="logo" ></span>
				<p>服装鞋包</p>
				<span class="letter"></span>
			</div>
			<div class="list">
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="first">大牌<span></span><label for=""></label></a>
				<?php foreach ($cat['13']['_data'] as $a => $b): ?>
					
					<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class=""><?php echo $b['cat_name'] ?><span></span><label for=""></label></a>
				<?php endforeach ?>
				<!-- <a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="last">奢华腕表<label for=""></label></a> -->
			</div>
		</div>
		<div class="pic">
			<div class="fixed">
				<a href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>" class="biggest"><img src="images/e (5).jpg" height="473" width="330" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="long3"><img src="images/e (3).jpg" height="157" width="328" style='border:1px solid #F0F0F0;' alt="" /></a>


			</div>
			<div class="scroll scroll1" style="display:block;">
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="long1"><img src="images/e (6).jpg" height="157" width="439" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top1"><img src="images/e (7).jpg" height="157" width="219" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top2"><img src="images/e (11).jpg" height="157" width="219" alt="" /></a>
				<div class="plug">
					<div class="plugpic">
						<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top3"><img src="images/e18.jpg" height="315" width="439" alt="" /></a>
						<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top3"><img src="images/e15.jpg" height="315" width="439" alt="" /></a>
						<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top3"><img src="images/e16.jpg" height="315" width="439" alt="" /></a>
						<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top3"><img src="images/e17.jpg" height="315" width="439" alt="" /></a>
						<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top3"><img src="images/e18.jpg" height="315" width="439" alt="" /></a>
					</div>
					<a href="javascript:void(0)" class="left icon-angle-left"></a>
					<a href="javascript:void(0)" class="right icon-angle-right"></a>
					<ul>
						<li style="background:#B61B1F;"></li>
						<li></li>
						<li></li>
						<li></li>
					</ul>
				</div>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="big"><img src="images/e (8).jpg" height="157" width="219" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top4"><img src="images/e (10).jpg" height="157" width="219" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top5"><img src="images/e (12).jpg" height="157" width="219" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="long2"><img src="images/e (1).jpg" height="316" width="219" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="top6"><img src="images/e (2).jpg" height="157" width="439" alt="" /></a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>' class="long4"><img src="images/e (4).jpg" height="157" width="219" alt="" /></a>
			</div>
			<?php foreach ($cat['13']['_data'] as $a => $b): ?>
				<div class="scroll">
					<?php foreach ($b['_data'] as $c => $d): ?>
						<div>
							<a class="pic" href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><img src="images/aa1.jpg" alt="" /></a>
							<p class="word"><a href="<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>"><?php echo $d['cat_name'] ?></a></p>
							<p class="price">￥98.00</p>
						</div>
					<?php endforeach ?>

						<!-- <div>
							<a class="pic" href=""><img src="images/aa2.jpg" alt="" /></a>
							<p class="word"><a  href="">海澜之家男装 圆领印花短袖T恤</a></p>
							<p class="price">￥98.00</p>
						</div> -->
						<div style="width:100%;float:left;margin: 0;padding: 0;height:auto;position:absolute;bottom:0;left:0;">
							<a class='bottom' href=""><img src="images/aa9.jpg" height="157" width="219" alt="" /></a>
							<a class='bottom' href=""><img src="images/aa10.jpg" height="157" width="219" alt="" /></a>
							<a class='bottom' href=""><img src="images/aa11.jpg" height="157" width="219" alt="" /></a>
							<a class='bottom' href=""><img src="images/aa12.jpg" height="157" width="219" alt="" /></a>
						</div>

					</div>
				<?php endforeach ?>

			</div>
		</div>
		<!-- 服装鞋包结束 -->



		<!-- 底部服务开始 -->
		<div id="service">
			<div class="part">
				<h3>购物指南</h3>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>购物流程</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>会员介绍</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>生活旅行/团购</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>常见问题</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>大家电</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>联系客服</a>
			</div>
			<div class="part2">
				<h3>配送方式</h3>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>上门自提</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>211限时达</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>配送服务查询</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>配送费收取标准</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>海外配送</a>
			</div>
			<div class="part">
				<h3>支付方式</h3>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>货到付款</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>在线支付</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>分期付款</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>邮局汇款</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>公司转账</a>
			</div>
			<div class="part">
				<h3>售后服务</h3>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>售后政策</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>价格保护</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>退款说明</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>返修/退换货</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>取消订单</a>
			</div>
			<div class="part5">
				<h3>特色服务</h3>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>夺宝岛</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>DIY装机</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>延保服务</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>京东E卡</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>京东通信</a>
			</div>
			<div class="part6">
				<h3>京东自营覆盖区县</h3>
				<p>京东已向全国1978个区县提供自营配送服务，支持货到付款、OS机刷卡和售后上门服务。</p>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>查看详情 ></a>
			</div>
		</div>
		<!-- 底部服务结束 -->
		<!-- 底部索引开始 -->
		<div id="index">
			<p class="first">
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>关于我们</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>联系我们</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>商家入驻</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>营销中心</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>手机京东</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>友情链接</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>销售联盟</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>京东社区</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>京东公益</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>English Site</a>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>Contact Us</a>
			</p>
			<p class="second">
				<span>北京市公安局朝阳分局备案编号110105014669</span>|
				<span>京ICP证070359号</span>|
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>互联网药品信息服务资格证编号(京)-经营性-2014-0008</a>|
				<span>新出发京零 字第大120007号</span>
			</p>
			<p class="third">
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>音像制品经营许可证苏宿批005号</a>|
				<span>出版物经营许可证编号新出发(苏)批字第N-012号</span>|
				<span>互联网出版许可证编号新出网证(京)字150号</span>
			</p>
			<p class="fourth">
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>网络文化经营许可证京网文[2014]2148-348号  </a>
				<span>违法和不良信息举报电话：4006561155  Copyright © 2004-2015  京东JD.com 版权所有</span>
			</p>
			<p class="fifth">
				<span>京东旗下网站:</span>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>360TOP</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>拍拍网</a>
				<a href='<?php echo U('Home/Index/item',array('goods_id'=>17)) ?>'>网银在线</a>
			</p>
			<div class="img">
				<img src="images/v.png" height="32" width="103" alt="" />
				<img src="images/v1.png" height="32" width="103" alt="" />
				<img src="images/v3.png" height="32" width="103" alt="" />
				<img src="images/v4.png" height="32" width="103" alt="" />
				<img src="images/v7.png" height="32" width="185" alt="" />
				<img src="images/v5.jpg" height="32" width="103" alt="" />
			</div>
		</div>
		<!-- 底部索引结束 -->
		<!-- <div id="bottom"></div> -->
	</body>
	</html>
